body.padding-zero {
  padding-top: 0;
}

.current-deck-image-page {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, #0871dc 0%, #23dee9 100%);
  padding: 58px 26px;

  &.small {
    padding: 58px 14px;
  }

  &::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url('https://pic.iyingdi.com/web_h5/activity/watermark/watermark.png');
    background-size: 400px;
    z-index: 1;
  }

  .cards-box {
    background: rgb(0 0 0 / 20%);
    margin-bottom: 20px;
    padding: 22px 22px 0;

    &.small {
      padding: 14px 14px 0;
    }

    .sel-card-area {
      .sel-card-item {
        position: relative;
        margin-bottom: 10px;
        margin-right: 8px;
        width: 210px;

        &:nth-of-type(3n) {
          margin-right: 0;
        }

        .image {
          background: #4c5055;
          border-radius: 10px;
          width: 100%;

          > img {
            width: inherit;
          }
        }

        .name-box {
          height: 51px;
          border-radius: 10px;
          padding: 4px;
          color: #fff;

          .name-content {
            border-radius: 10px;
            text-align: center;
            height: 41px;
            line-height: 41px;
          }
        }

        .nums {
          position: absolute;
          right: 4px;
          top: 4px;
          padding: 0 5px;
          height: 38px;
          text-align: center;
          line-height: 38px;
          font-size: 24px;
          color: #fff;

          > span {
            position: relative;
            z-index: 2;
          }

          &::after {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            z-index: 1;
            width: 100%;
            height: 100%;
            background: #000;
            border-radius: 6px;
            opacity: 0.72;
          }
        }
      }
    }

    .small-sel-card-area {
      .sel-card-item {
        position: relative;
        margin-bottom: 12px;
        margin-right: 2px;
        width: 84px;

        &:nth-of-type(8n) {
          margin-right: 0;
        }

        .image {
          background: #4c5055;
          border-radius: 10px;
          width: 100%;

          > img {
            width: inherit;
          }
        }

        .name-box {
          border-radius: 10px;
          padding: 2px;
          color: #fff;

          .name-content {
            border-radius: 10px;
            text-align: center;
            font-size: 16px;
          }
        }

        .nums {
          position: absolute;
          right: 4px;
          top: 84px;
          padding: 0 5px;
          height: 30px;
          text-align: center;
          line-height: 30px;
          font-size: 24px;
          color: #fff;

          > span {
            position: relative;
            z-index: 2;
            font-size: 16px;
            font-weight: bold;
          }

          &::after {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            z-index: 1;
            width: 100%;
            height: 100%;
            background: rgb(0 0 0 / 64%);
            border-radius: 6px;
            opacity: 1;
          }
        }
      }
    }
  }
}
